home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7133 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.uni-stuttgart.de!fleischr
  2. From: fleischr@izfm.uni-stuttgart.de (Matthias Fleischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: ln_Type of a new IORequest
  5. Date: 10 Apr 1996 07:35:10 GMT
  6. Organization: None. I'm not organized at all.
  7. Message-ID: <4kfobe$2oec@info4.rus.uni-stuttgart.de>
  8. References: <4kdi28$n8a@taiwan.informatik.uni-rostock.de>
  9. NNTP-Posting-Host: sunserv.izfm.uni-stuttgart.de
  10.  
  11. In article <4kdi28$n8a@taiwan.informatik.uni-rostock.de>,
  12. Gunther Nikl <gnikl@informatik.uni-rostock.de> wrote:
  13. >
  14. >I mentioned in "exec/nodes.h" that a new IORequest should have 
  15. >a ln_Type of NT_UNKNOWN. Being surprised I checked the type of
  16. >the result from a CreateIORequest() call. The IOrequest had the
  17. >type "NT_REPLYMSG" (V39). Sometimes I create an IORequest by hand
  18. >setting ln_Type to "NT_MESSAGE". Now I wonder what is really
  19. >correct?
  20. >
  21. AFAIK the node types for IORequests have the following meanings:
  22. NT_MESSAGE  - IORequest is currently active (in use by the device).
  23. NT_REPLYMSG - IORequest is finished (the device replied to it).
  24.  
  25. OpenDevice() always sets the type to NT_REPLYMSG - so the
  26. value after CreateIORequest() probably doesn't matter.
  27.  
  28. Matthias
  29. -- 
  30. Ever noticed that %=0/0=NaN?
  31.